package com.example.demo;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:存放数据库的集合-->MyDBList
 * User: sfx
 * Date: 2022-12-29
 * Time: 10:52
 */

@Component
@ConfigurationProperties(prefix = "mydblist2")
@Setter
@Getter
public class MyDBList {

    private List<String> dbname;

}
